<div class='content'>
<div id="content_wrapper">
	<!--面包导航 start-->
	<div id="breadcrumbs">
		<div id="crumbs">
			<ul>
				<li>
				<img src="<?php echo base_url('application/views/images/weizhi.png');?>" alt="wzpic">
				文章管理
				</li>
				<li>文章列表</li>
			</ul>
		</div>
	</div>
	<!--面包导航 end--> 

	<div class='tb_list_wrapper'>
		<table class='tr_wrapper'>
			<tr>
				<th>ID</th>
				<th>标题</th>
				<th>作者</th>				
				<th>写作时间</th>
				<th>发表时间</th>
				<th>类别</th>
				<th>草稿</th>
				<th>操作</th>
			</tr>
			<?php if(isset($items)):?>
				<?php foreach($items as $item):?>
					<tr>
						<td><?php echo $item['id'];?></td>
						<td><?php echo $item['title'];?></td>
						<td><?php echo $item['user_id'];?></td>
						<td><?php echo $item['write_time'];?></td>
						<td><?php echo $item['post_time'];?></td>
						<td><?php echo $item['category_id'];?></td>
						<td><?php echo $item['is_draft'];?></td>
						<td>
							<a href="javascript:void(0);">修改</a>&nbsp;
							<a href="javascript:void(0);">删除</a>&nbsp;
							<a href="javascript:void(0);">置顶</a>
						</td>
					</tr>
				<?php endforeach; ?>
			<?php endif;?>
		</table>
	</div>

</div>
</div>
</body>
</html>